package com.hospital.workstation.service;

import com.hospital.workstation.domain.ElectronicExtendOneInfo;
import com.hospital.workstation.domain.vo.ElectronicExtendOneInfoVo;
import com.hospital.workstation.domain.bo.ElectronicExtendOneInfoBo;
import com.hospital.common.core.page.TableDataInfo;
import com.hospital.common.core.domain.PageQuery;

import java.util.Collection;
import java.util.List;

/**
 * 续一表Service接口
 *
 * @author whb
 * @date 2024-05-07
 */
public interface IElectronicExtendOneInfoService {

    /**
     * 查询续一表
     */
    ElectronicExtendOneInfoVo queryById(Long id);

    /**
     * 查询续一表列表
     */
    TableDataInfo<ElectronicExtendOneInfoVo> queryPageList(ElectronicExtendOneInfoBo bo, PageQuery pageQuery);

    /**
     * 查询续一表列表
     */
    List<ElectronicExtendOneInfoVo> queryList(ElectronicExtendOneInfoBo bo);

    /**
     * 新增续一表
     */
    Boolean insertByBo(ElectronicExtendOneInfoBo bo);

    /**
     * 修改续一表
     */
    Boolean updateByBo(ElectronicExtendOneInfoBo bo);

    /**
     * 校验并批量删除续一表信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
}
